package csel.model.items;

import csel.model.BlockNotifier;
import csel.model.MobileObject;
import csel.model.entity.Entity;

public class ObstacleItem extends Item
{
	private static final long serialVersionUID = 5L;

	public ObstacleItem(String typeId)
	{
		super(typeId); //TODO
	}

	public boolean canEnter(MobileObject ob, BlockNotifier notifier)
	{
		if (notifier != null)
			notifier.blockedBy(this);
		
		return false;
	}

	public boolean enter(Entity e)
	{
		return false;
	}

	public void leave(Entity e)
	{
//		does nothing it should never reach this method. hahaha.
	}
}
